package org.aeon.message.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/1/27 12:57
 * @description: 非法的请求响应消息
 */
@Getter
@Setter
@ToString
public class IllegalRequestResponseMessage extends ResponseMessage {
    @Serial
    private static final long serialVersionUID = -8134459649910282027L;

    public IllegalRequestResponseMessage() {
        setResponse(false, "你发送了一个非法的请求");
    }

    @Override
    public int getMessageType() {
        return IllegalRequestResponseMessage;
    }
}
